/*
Theme Name: Twentytwelve Child
Description: Child theme for the twentytwelve theme 
Author: Hovland, Andresen, Martinsen
Template: twentytwelve
*/

@import url("../twentytwelve/style.css");

h1.site-title a {
    color: #009900;
}

.error {
    color: red;
}

.page-id-87 .entry-title,
.page-id-87 .entry-meta,
.page-id-59 .entry-title,
.page-id-59 .entry-meta,
.page-id-4 .entry-meta,
.page-id-10 .entry-meta,
.page-id-125 .entry-title,
.page-id-125 .entry-meta,
.page-id-123 .entry-title,
.page-id-123 .entry-meta, 
.page-id-146 .entry-title,
.page-id-146 .entry-meta, 
.page-id-121 .entry-title,
.page-id-121 .entry-meta {
    display: none;
}

.adminButtons {
    display: inline;
    margin-right: 0px;
    margin-bottom: 20px;
    margin-top: 20px;
}

/* Increase theme width to 1000px */
@media screen and (min-width: 960px) { 
    .site {
        max-width: 1000px;
        max-width: 71.4285rem;
    }
}
.ie .site { max-width: 1000px; }

footer[role="contentinfo"] {
    max-width: 1000px;
    max-width: 71.4285rem;
}

/* Left & Right Sidebars */
@media screen and (min-width: 600px) { 
    .custom-layout .site-content {
        width: 50%;
        margin-left: 25%;
    }
    .ham-content {
        width: 75%;
        margin-left: 25%;
    }
    .widget-area {
        position: relative;
        width: 20%;
    }
    .custom-layout .widget-area {
        position: relative;
        width: 20%;
    }
    .custom-layout #extra-sidebar {
        float: left;
        margin-left: -75%;
        width: 20%;
    }

    #container {
        width: 100%;
    }
    #container > ul {
        list-style: none;
    }
    
    #extra-sidebar {
        float: left;
        width: 20%;
    }
    
    .main-navigation li form input[type="submit"] {
        border: none;
        color: #6a6a6a;
        text-transform: uppercase;
        font-weight: bold;
        background: transparent;
        box-shadow: none;
        font-size: 12px;
    }
    .main-navigation li form input[type="submit"]:hover {
        color: #000;
    }
    
}


/* IE8 and IE7 - Left and Right Sidebars */
.ie  .custom-layout .site-content {
    width: 50%;
    margin-left: 25%;
}
.ie .custom-layout .widget-area {
    float: right;
    width: 20%;
    position: relative;
}
.ie .custom-layout #extra-sidebar {
    float: left;
    margin-left: -75%;
    width: 20%;
}

/* Left Sidebar list styling 
Code retrieved from http://codepen.io/secondfret/pen/mIBqf
and modified.
*/
.leftnav-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.leftnav-menu li {
    font: 200 12px/1.5 Helvetica, Verdana, sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    /*border-bottom: 1px solid #ccc;*/
    padding-bottom: 6px;
    padding-top: 6px;
}

.leftnav-menu li:last-child {
    border: none;
}

.leftnav-menu li a {
    text-decoration: none;
    color: #000;

    -webkit-transition: font-size 0.3s ease, background-color 0.3s ease;
    -moz-transition: font-size 0.3s ease, background-color 0.3s ease;
    -o-transition: font-size 0.3s ease, background-color 0.3s ease;
    -ms-transition: font-size 0.3s ease, background-color 0.3s ease;
    transition: font-size 0.3s ease, background-color 0.3s ease;
    display: block;
    width: 200px;
}

.leftnav-menu li a:hover {
    font-size: 15px;
    background: #f6f6f6;
}

#navigasjonsmeny {
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 4px double #dedede;
}

#ham-aktivitet {
    width: 100%;
}

#ham-innhold-aktivitet-tabell {
}

.ham-aktivitet-tabell {
}

.ham-aktivitet-tabell-rad {
}

.ham-aktivitet-dato {
    width: 35px !important;
    /*padding: 0 0 10px 0 !important;*/
}

.ham-aktivitet-dato-tittel {
    border: 3px solid #8ba5c0;
    -webkit-border-radius: 0 0 10px 10px;
    -moz-border-radius: 0 0 10px 10px;
    border-radius: 0 0 10px 10px;
    background-color: #f9f9f9;
    color: #525252;
    float: left;
    font-size: 12px !important;
    font-weight: normal;
    text-align: center;
    line-height: 15px !important;
    width: 35px;
    padding: 0 !important;
    margin: 0 !important;
}

.ham-aktivitet-dato-mnd {
    color: white;
    background: #8ba5c0;
    text-transform: uppercase;
}

.ham-aktivitet-dato-dag,
.ham-aktivitet-dato-dag-søn {
    font-size: 18px;
    font-weight: bold;
    padding-top: 2px;
}

.ham-aktivitet-dato-dag-søn {
    color: red;
}

.ham-aktivitet-dato-udg {
}

.ham-aktivitet-liste-kolonne {
    padding: 6px 0 !important;
    vertical-align: top;
}

.ham-aktivitet-liste {
    width: 100%;
    float: right;
}

.ham-aktivitet-liste-rad {
    list-style: none;
    margin-left: 20px;
    clear: right;
}

.ham-aktivitet-liste-tekst {
}

.ham-aktivitet-liste-tekst-tid {
    font-weight: bold;
    margin-right: 20px;
}

.ham-modul {
    width: 210px;
    margin: 20px 0;
    font-size: 12px;
    -webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.3);
    -moz-box-shadow: 0 1px 5px rgba(0,0,0,0.3);
    box-shadow: 0 1px 5px rgba(0,0,0,0.3);
    background-color: #f5f5f5;
}

#ham-modul-aktivitet-tabell,
#ham-modul-bursdag-tabell {
    width: 193px;
    height: 100px;
}

.ham-modul-tittel {
    background: #f5f5f5;
    color: #666;
    font-size: 14px;
    font-weight: normal;
    padding: 10px 0;
    text-align: center;
    text-shadow: 0 -1px 0 #000;
/*    -webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.3);
    -moz-box-shadow: 0 1px 5px rgba(0,0,0,0.3);
    box-shadow: 0 1px 5px rgba(0,0,0,0.3);*/
    z-index: -99;
}

#ham-aktivitet-tabell .ham-modul-tittel,
#ham-bursdag-tabell .ham-modul-tittel {
    border-bottom: 1px solid #e5e5e5;
}

.ham-modul-tabell {
    /*background-color: #f5f5f5;*/
/*    -webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.3);
    -moz-box-shadow: 0 1px 5px rgba(0,0,0,0.3);
    box-shadow: 0 1px 5px rgba(0,0,0,0.3);*/
}

.ham-modul-tabell-rad {
    border-bottom: 1px solid #e5e5e5;
}

.ham-modul-tabell-rad:last-child {
    border-bottom: none;
}

.ham-modul-dato {
    vertical-align: top;
    margin: 0 !important;
    padding: 0 !important;
}

.ham-modul-dato-tittel {
    border: 2px solid #8ba5c0;
    -webkit-border-radius: 0 0 5px 5px;
    -moz-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
    -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.08);
    -moz-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.08);
    color: #525252;
    font-size: 10px;
    font-weight: normal;
    background-color: #f9f9f9;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), color-stop(1em, #ffffff), to(#e0e0e0));
    background-image: -webkit-linear-gradient(#ffffff, #ffffff 1em, #e0e0e0);
    background-image: -moz-linear-gradient(top, #ffffff, #ffffff 1em, #e0e0e0);
    background-image: -ms-linear-gradient(#ffffff, #ffffff 1em, #e0e0e0);
    background-image: -o-linear-gradient(#ffffff, #ffffff 1em, #e0e0e0);
    background-image: linear-gradient(#ffffff, #ffffff 1em, #e0e0e0);
    background-repeat: no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e0e0e0', GradientType=0);
    line-height: 11px;
    margin: 5px !important;
    text-align: center;
    text-shadow: 0 1px 0 #ffffff;
    width: 27px;
}

.ham-modul-dato-mnd {
    color: white;
    background: #8ba5c0;
    font-size: 9px;
    text-transform: uppercase;
    font-weight: normal;
}

.ham-modul-dato-dag,
.ham-modul-dato-dag-søn {
    font-size: 14px;
    font-weight: bold;
    padding: 2px 0 1px;
}

.ham-modul-dato-dag-søn {
    color: red;
}

.ham-modul-dato-udg {
}

.ham-modul-liste-kolonne {
    width: 100%;
}

.ham-modul-liste {
}

.ham-modul-liste-rad {
    font-size: 11px;
    clear: right;
    margin: 5px 5px 5px 0;
    padding: 2px 3px;
    border: 1px solid #dedede;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background: #fff;
    overflow-wrap: normal;
}

.ham-modul-liste-tekst {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    text-decoration: underline;
    border: none !important;
    color: blue;
    cursor: pointer;
    text-align: left;
}

.ham-modul-liste-tekst-tid {
    font-weight: bold;
}

/*#ham-bursdag {
    height: 200px;
    font-size: 12px;
    -webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.3);
    -moz-box-shadow: 0 1px 5px rgba(0,0,0,0.3);
    box-shadow: 0 1px 5px rgba(0,0,0,0.3);
    background-color: #f5f5f5;
}*/

/* Kalender fra : 
http://johnsardine.com/freebies/dl-html-css/pretty-little-calendar-css3/ */

#ham-kalender {
    color: #666;
    font-size: 12px;
    width: 100%;
/*    -webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.3);
    -moz-box-shadow: 0 1px 5px rgba(0,0,0,0.3);
    box-shadow: 0 1px 5px rgba(0,0,0,0.3);*/
}

#ham-kalender a {    color: #467b89 }

#ham-kalender thead th {
    text-align: center;
    font-size: 9px;
    padding: 4px 0;
    color: #666;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(255,255,255,0.5);
    border-bottom: 1px solid #bbbbbb;
    background: #f7f7f7;
    background: -webkit-gradient(linear, left top, left bottom, from(#f7f7f7), to(#f1f1f1));
    background: -moz-linear-gradient(top,  #f7f7f7,  #f1f1f1);
}

#ham-kalender tbody td {
    color: #666;
    text-shadow: 0 1px 0 rgba(255,255,255,0.5);
    padding: 6px;
    font-size: 9px;
    text-align: center;
    font-weight: bold;
    border: 1px solid;
    border-color: #fff #bbbbbb #bbbbbb #fff;
    background: #ededed;
    background: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#dedede));
    background: -moz-linear-gradient(top,  #ededed,  #dedede);
}

#ham-kalender tbody td.pad {
    background: #f5f5f5;
    background: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#ececec));
    background: -moz-linear-gradient(top,  #f5f5f5,  #ececec);
}

#ham-kalender tfoot {
    color: #e0e0e0;
    font-size: 12px;
    text-align: center;
    border-radius: 0 0 25px 25px;
}

#ham-kalender tfoot tr {
    background: #f5f5f5;
    background: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#ececec));
    background: -moz-linear-gradient(top,  #f5f5f5,  #ececec);
}

#ham-kalender tfoot td {    padding: 8px 10px; }

#ham-kalender tfoot a {
    color: #666;
    text-shadow: 0 1px 0 rgba(255,255,255,0.5);
}

#ham-kalender tfoot td#prev {    text-align: left }

#ham-kalender tfoot td#next {    text-align: right }

#ham-kalender #today {
    color: #fff;
    border: 1px solid #467b89;
    text-shadow: 0 1px 0 rgba(0,0,0,0.3);
    background: #6eafbf;
    background: -moz-radial-gradient(50% 50% 0deg,ellipse cover, #6eafbf, #569EB1);
    background: -webkit-gradient(radial, 50% 50%, 0, 50% 50%, 20, from(#6eafbf), to(#569EB1));
}

#site-navigation {
    background-color: #f5f5f5;
}

.nav-menu ul {
    padding: -10px 0;
    font-weight: bold;
    text-indent: 10px;
}
